//
//  AlreadyCollectionViewCell.m
//  Findif
//
//  Created by Mac on 2018/10/31.
//  Copyright © 2018年 Cicel Chen. All rights reserved.
//

#import "AlreadyCollectionViewCell.h"


@interface AlreadyCollectionViewCell ()




@end


@implementation AlreadyCollectionViewCell


-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        //设置控件
        [self setupUI];
    }
    
    return self;
}

- (void)setupUI{
    
    UIImageView * imageView = [UIImageView new];
    imageView.layer.cornerRadius = 17.5 * SCREENH6;
    imageView.layer.masksToBounds = YES;
    
    self.imageView = imageView;
    
    [self.contentView addSubview:self.imageView];
}


- (void)layoutSubviews{
    
    [self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.mas_equalTo(self.contentView);
        make.centerX.mas_equalTo(self.contentView);
        make.width.height.mas_equalTo(35 * SCREENH6);
    }];
}

@end
